/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ages.test
import com.ages.env.AbstractWorld
import com.ages.env.GLWindow
import com.ages.input.Keyboard
import com.ages.math.Vector3D
import javax.media.opengl.GL

object HelloAges {
   
  /**
   * @param args the command line arguments
   */
  def main(args: Array[String]): Unit = {
    val keys = new Keyboard
    val world:AbstractWorld = new HelloWorldWorld
    world.addEntity(new Teapot(new Vector3D(0,0,0),keys))
    world.addEntity(new Box(new Vector3D(0,0,0)))
    val gameWindow:GLWindow = new GLWindow("HelloAges",world,640,480)
    gameWindow.addKeylistener(keys)
    
  }

}



